package com.lyl.docker.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * (User)表实体类
 *
 * @author makejava
 * @since 2022-12-10 16:45:23
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("user")
public class User implements Serializable  {
    private static final long serialVersionUID = 348593178861244027L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    @TableField("name")
    private String name;

    /**
     *  1:0:
     */
    @TableField("sex")
    private Integer sex;


    @TableField("create_time")
    private String createTime;


    @TableField("update_time")
    private String updateTime;

    /**
     * 0:1:
     */
    @TableField("is_deleted")
    private Boolean isDeleted;

}
